//yyyy-MM-dd hh:mm:ss格式转毫秒
export function starttimeHaoMiao (date) {
    let starttime = date.replace(new RegExp("-","gm"),"/");
    let starttimeHaoMiao = (new Date(starttime)).getTime(); //得到毫秒数
    return starttimeHaoMiao;
  }